package com.springboot.rmq.comm;

import org.springframework.boot.context.properties.ConfigurationProperties;


@ConfigurationProperties(
        prefix = "rmq.consumer"
)
public class ConsumerProperties {
    /**
     * namesever配置
     */
    private String nameServer;

    /**
     * timeout（毫秒）
     */
    private String timeOutMils;
    /**
     * 扫描路径
     */
    private String scanPackage;
    /**
     * 最大批量处理数
     */
    private String batchMaxSize;
    /**
     * 最小线程数
     */
    private String threadCountMin;
    /**
     * 最大线程熟
     */
    private String threadCountMax;

    /**
     * 实例名称
     */
    private String instanceName;

    public String getNameServer() {
        return nameServer;
    }

    public void setNameServer(String nameServer) {
        this.nameServer = nameServer;
    }

    public String getTimeOutMils() {
        return timeOutMils;
    }

    public void setTimeOutMils(String timeOutMils) {
        this.timeOutMils = timeOutMils;
    }

    public String getScanPackage() {
        return scanPackage;
    }

    public void setScanPackage(String scanPackage) {
        this.scanPackage = scanPackage;
    }

    public String getBatchMaxSize() {
        return batchMaxSize;
    }

    public void setBatchMaxSize(String batchMaxSize) {
        this.batchMaxSize = batchMaxSize;
    }

    public String getThreadCountMin() {
        return threadCountMin;
    }

    public void setThreadCountMin(String threadCountMin) {
        this.threadCountMin = threadCountMin;
    }

    public String getThreadCountMax() {
        return threadCountMax;
    }

    public void setThreadCountMax(String threadCountMax) {
        this.threadCountMax = threadCountMax;
    }

    public String getInstanceName() {
        return instanceName;
    }

    public void setInstanceName(String instanceName) {
        this.instanceName = instanceName;
    }
}
